don't shit where you eat

don't shit where you eat
(idiomatic, vulgar) One should not cause trouble in a place, group, or situation in which one regularly finds oneself.